package com.jianyun.jyzs.model.imdoel;

import com.jianyun.jyzs.dao.AnnouncementDao;

import java.util.HashMap;

/**
 * 通知公告
 * Created by yangshijun on 2018/5/29.
 */

public interface IAnnouncementsModel {

    /**
     * 获取通知公告列表
     * @param map
     * @param onGetAnnoucemntListener
     */
    void getAnnouncementList(AnnouncementDao dao,HashMap<String, String> map, OnGetAnnoucemntListener onGetAnnoucemntListener);

    public interface OnGetAnnoucemntListener{
        void onSuccess(int size);
        void onFaile(String msg);
    }


}
